import base64

# 将密码进行Base64编码（加密）
def encoded(info):
    encoded_info =base64.b64encode(info.encode('utf-8'))
    print(encoded_info)
    return encoded_info

def decoded(info):
    return base64.b64decode(info).decode("utf-8")


# code ="123"
# encoded(code)





